package com.fkd.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.util.Set;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class User implements Serializable{
    private int id;  //用户id
    private String name;  //用户昵称
    private String username;  //用户账号
    private String password;  //用户密码
    private String sex;  //用户性别
    private String identityCode;  //用户身份证号码
    private String email;  //用户邮箱
    private String mobile;  //用户号码
    private String fileName;  //用户头像
    private String address;  //用户地址
    private Set<Order> orders;  //用户订单
    private Set<UserAddress> userAddresses;  //用户收货地址

}
